Repository navigation
fix(contracts): stop false bright founder pill on standing bots - #207
Open
nullStack65 wants to merge 3 commits into
Open
nullStack65 wants to merge 3 commits into
nullStack65 wants to merge 3 commits into
Conversation
Agent-only threads never badge on a founder name, and code, quoted lines and addresses no longer count as an @-mention. Model: claude-sonnet-5-5 Task: bot-attention-false-founder-pill Agent: claude-code-implementation-subagent Harness: Claude Code Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Owner
Author
{
"reviewed_head": "4f5eeb3c075cf7f6069c6ae320b48409c6723cc7",
"reviewer": "gemini-4-neon, antigravity",
"findings": [
{
"id": "F1",
"severity": "nit",
"summary": "NON_PING_TEXT inline-code branch (`[^`\\n]*`) matches empty `` pairs around multi-backtick spans (e.g. ``@kameron`` or ``use `x` @jeff``), leaking mentions inside double-backtick inline code.",
"outcome": "open"
},
{
"id": "F2",
"severity": "nit",
"summary": "NON_PING_TEXT fence branch captures only 3 chars (```|~~~) and allows trailing text on closing fences ([^\\n]*$), so 4+ backtick fences wrapping 3-backtick blocks close early and single-line ```@kameron``` at line start swallows following lines.",
"outcome": "open"
}
]
}Cross-family PR Review (
|
…r pings The shell read @-mentions from the latest message of any kind, so an incoming user message or agent-to-agent digest that merely discussed founder mentions lit the founder pill on the recipient bot. The SQL and in-memory shell paths now take the latest assistant message or founder note only. Also fix two markdown-scanner nits in the mention scanner: multi-backtick code spans close on a run of equal length, and a fence closes only on at least as many fence characters, so a one-line triple-backtick span no longer swallows the rest of the message. Model: claude-sonnet-5-5 Task: fix Agent: claude-code Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
{
"reviewed_head": "8114f452ec61b12956f87505f1c534ad0932dc32",
"reviewer": "gemini-4-neon, antigravity",
"findings": [
{
"id": "F1",
"severity": "nit",
"summary": "NON_PING_TEXT inline-code branch (`[^`\\n]*`) matches empty `` pairs around multi-backtick spans (e.g. ``@kameron`` or ``use `x` @jeff``), leaking mentions inside double-backtick inline code.",
"outcome": "fixed",
"rechecked_head": "8114f452ec61b12956f87505f1c534ad0932dc32"
},
{
"id": "F2",
"severity": "nit",
"summary": "NON_PING_TEXT fence branch captures only 3 chars (```|~~~) and allows trailing text on closing fences ([^\\n]*$), so 4+ backtick fences wrapping 3-backtick blocks close early and single-line ```@kameron``` at line start swallows following lines.",
"outcome": "fixed",
"rechecked_head": "8114f452ec61b12956f87505f1c534ad0932dc32"
},
{
"id": "F3",
"severity": "important",
"summary": "apps/server/src/orchestration-v2/ProjectionStore.ts:1782 types isFounderPingSource with `humanNote?: boolean` instead of `humanNote?: boolean | undefined`, failing `apps/server` typecheck under `exactOptionalPropertyTypes: true` (TS2379 at line 1877).",
"outcome": "open"
}
]
}Cross-family PR Re-check (
|
…ptionalPropertyTypes) Fixes F3 (TS2379) on PR #207 under exactOptionalPropertyTypes: true. Model: gemini-4-neon Task: bot-attention-false-founder-pill Agent: cto-thread Harness: t3/antigravity Model-family: gemini Model-generation: 4
Owner
Author
{
"reviewed_head": "e562c3cf9a2a328e8a8e59e86fcd35fd66158058",
"reviewer": "claude-sonnet-5-5, claude-code",
"findings": [
{
"id": "F1",
"severity": "nit",
"summary": "NON_PING_TEXT inline-code branch (`[^`\\n]*`) matches empty `` pairs around multi-backtick spans (e.g. ``@kameron`` or ``use `x` @jeff``), leaking mentions inside double-backtick inline code.",
"outcome": "fixed",
"rechecked_head": "8114f452ec61b12956f87505f1c534ad0932dc32"
},
{
"id": "F2",
"severity": "nit",
"summary": "NON_PING_TEXT fence branch captures only 3 chars (```|~~~) and allows trailing text on closing fences ([^\\n]*$), so 4+ backtick fences wrapping 3-backtick blocks close early and single-line ```@kameron``` at line start swallows following lines.",
"outcome": "fixed",
"rechecked_head": "8114f452ec61b12956f87505f1c534ad0932dc32"
},
{
"id": "F3",
"severity": "important",
"summary": "apps/server/src/orchestration-v2/ProjectionStore.ts:1782 types isFounderPingSource with `humanNote?: boolean` instead of `humanNote?: boolean | undefined`, failing `apps/server` typecheck under `exactOptionalPropertyTypes: true` (TS2379 at line 1877).",
"outcome": "confirmed",
"rechecked_head": "e562c3cf9a2a328e8a8e59e86fcd35fd66158058"
}
]
}Cross-family PR Re-check (
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
PR Reviewershowed a brightKameron · Jeffpill withassignee: null,pendingRequestCount: 0and nodecisionRequest. The mention scan read@kameron/@jeffout of code blocks, inline code, quoted logs and address-like text, and applied to agent-only threads too.Change
In
packages/contracts/src/botAttention.ts:resolveBotAttentionnever badges anagent-onlythread on a name; only a realdecisionRequest(or joint sign-off) does.mentionedFoundersignores fenced code (including unterminated fences), inline code and>quoted lines, and requires the@not to follow a word/email character. Explicit@Namepings in prose still badge, including on shared FYI threads.attentionMentionsFromText) andchatActivityshare this function, so they stay consistent; no caller changes.Scope
Requested by Kameron (2026-11-24 22:42 ET escalation). Existing tests that expected an agent-only inbox to badge on a mention now use a shared inbox.
Verification
packages/contracts: full suite 247 passed, including new tests for agent-only (no pill / pill with decisionRequest) and shared FYI (incidental code, inline code, emails, quoted logs → dot; explicit ping or decisionRequest → pill). Typecheck: 0 errors.apps/serverHumanNote.test.tspassed (3 tests).apps/websidebar tests: the runner fails withERR_UNKNOWN_FILE_EXTENSIONin this environment; no web test references this module.Deploy: fleet
Model: claude-sonnet-5-5
Task: bot-attention-false-founder-pill
🤖 Generated with Claude Code